package my.package0602;

import my.package0414.Dog;

public class AnimalID {
    public static void main(String[] args){
        Animal animal=new Cat();
        animal.cry();
        animal.eat();
        System.out.println("----------");
        animal=new dog();
        animal.cry();
        animal.eat();
    }
}
